const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  //新增
  buttons: state => state.user.buttons,
  menus: state => state.user.menus,
  type: state => state.user.type,
  detailId: state => state.user.detailId,
  info: state => state.user.info,
  id: state => state.user.id
}
export default getters
